<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
BODY { 
  margin: 1em;
  font-family: serif;
  line-height: 1em;
  background: white;
  color: black; 
}

H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, DIV, 
DT, DD, ADDRESS, BLOCKQUOTE, PRE, BR, HR, FORM, DL { 
  display: block }

B, STRONG, I, EM, CITE, VAR, TT, CODE, KBD, SAMP, 
IMG, SPAN { display: inline }

LI { display: list-item }

H1, H2, H3, H4 { margin-top: 1em; margin-bottom: 1em }
H5, H6 { margin-top: 1em }
H1 { text-align: center }
H1, H2, H4, H6 { font-weight: bold }
H3, H5 { font-style: italic }

H1 { font-size: xx-large }
H2 { font-size: x-large }
H3 { font-size: large }

B, STRONG { font-weight: bolder }  /* relative to the parent */
I, CITE, EM, VAR, ADDRESS, BLOCKQUOTE { font-style: italic }
PRE, TT, CODE, KBD, SAMP { font-family: monospace }

PRE { white-space: pre }

ADDRESS { margin-left: 3em }
BLOCKQUOTE { margin-left: 3em; margin-right: 3em }

UL, DIR { list-style: disc }
OL { list-style: decimal }
MENU { margin: 0 }              /* tight formatting */
LI { margin-left: 3em }

DT { margin-bottom: 0 }
DD { margin-top: 0; margin-left: 3em }

HR { border-top: solid }        /* 'border-bottom' could also have been used */

A:link { color: blue }          /* unvisited link */
A:visited { color: darkblue }        /* visited links */
A:active { color: lime }        /* active links */

/* setting the anchor border around IMG elements
   requires contextual selectors */

A:link IMG { border: 2px solid blue }
A:visited IMG { border: 2px solid red }
A:active IMG { border: 2px solid lime }


label.form {
  font : 1em serif;
  float:left;
  width: 250px;
  text-align: right;
  margin-right: 0.5em;
}

abbr {
	text-decoration: none;
	border-style:  none;
	border-right: none;
	border-top: none;
	border-bottom: solid;
}

input {
    background : #c6c6c6;
    font : 4mm serif;
  }


select {
    background : #c6c6c6;
    font : 4mm serif;
  }

.error {font-weight: bold;
color:#760000;
</style>
</head>
<body>
<div id="password">
<fieldset><legend accesskey="P" tabindex="1">Password Change Form</legend>
<?=(isset($this->validation) ? $this->validation->error_string : '')?>
<?=form_open('auth/password')?>
	 
    <!--PASSWORD-->
    <p><span class="form"><label class="form" for="password">Password:</label>
	<?=form_password(array('name'=>'password', 
	                       'id'=>'password',
	                       'maxlength'=>'20', 
	                       'size'=>'10',
	                       'value'=>(isset($this->validation) ? $this->validation->{'password'} : '')))?>
    </span></p>
    
     <!--CONFIRM PASSWORD-->
     <p><span class="form"><label class="form" for="password_confirm">Confirm: </label>
	<?=form_password(array('name'=>'password_confirm', 
	                       'id'=>'password_confirm',
	                       'maxlength'=>'20', 
	                       'size'=>'10',
	                       'value'=>(isset($this->validation) ? $this->validation->{'password_confirm'} : '')))?>
    </span></p>

	<p><span class="form"><label  class="form" >Change Password?</label>
	<?=form_submit(array('name'=>'passform',
						'class'=>'submit',  
	               'value'=>'Yes'))?>
    </span></p>
<?=form_close()?>
</fieldset>
</div>

</body>
</html>
